package com.hj.calendar.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author hj
 * @Date 2023/5/22
 * @Description:
 */
@Data
@Schema( description = "飞书/钉钉日历数据封装VO")
public class FsDdCalendarVO {

    @Schema(name = "scheduleName", description = "日程名称")
    private String scheduleName;

    @Schema(name = "meetingStartTime", description = "预约开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date meetingStartTime;

    @Schema(name = "meetingEndTime", description = "预约结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date meetingEndTime;

    @Schema(name = "meetingContext", description = "活动详情")
    private String meetingContext;

    @Schema(name = "initiatorSite", description = "发起人-填写的预约地点")
    private String initiatorSite;

    @Schema(name = "originFrom", description = "1自己系统2飞书3钉钉...")
    private Integer originFrom;

    @Schema(name = "scheduleOrigin", description = "日程来源 都是1")
    private Integer scheduleOrigin;

    @Schema(name = "invitationType", description = "邀约类别 都是 1线下 ")
    private Integer invitationType;

    public FsDdCalendarVO() {
        this.scheduleOrigin = 1;
        this.invitationType = 1;
    }

}
